#include <iostream>
using namespace std;
int main()
{

    string vector [10];
    string aux;
    int i,j,z;
    i=0;
    while(i<10)
    {
        cin>>vector[i];
        i++;
    }

    i=9;
    j=0;
    while(j<5)
    {
        aux=vector[i];
        vector[i]=vector[j];
        vector[j]=aux;
        j++;
        i--;
    }
    z=0;
    while(z<10)
    {
        cout<<vector[z]<<endl;
        z++;
    }

}

void (string &vector[])
{
    int i,contl;
    char aux;
    i=0;
    contl=0;
    while(vector[i]<cadena.lenght/2)
    {
        aux=vector[i][contl]

    }

}
